<?php
class Logout extends CI_Controller{
    public function __construct(){
        parent::__construct();
		$this->load->library('session');
		$this->load->helper(array('form', 'url')); 
    }
    public function index(){
		$login['view'] = "frontend/login";
		$this->session->unset_userdata('login');
		$this->load->view('frontend/content', $login);
    }
}
?>